package com.lebang.mapper;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.CencesCoreData;
import com.lebang.example.CencesCoreDataExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * CencesCoreDataMapper继承基类
 */
@Mapper
public interface CencesCoreDataMapper extends MyBatisBaseDao<CencesCoreData, Integer, CencesCoreDataExample> {
    @DataSource("commonDB")
    int insertToCommon(CencesCoreData cencesCoreData);

    void deleteByTime(@Param("time") Integer time,@Param("appId") Integer appId);
}